<head>
<style>
</style>    

</head>
<?php
$ci = &get_instance();
$ci->load->model("course");
$ci->load->model("category");
$ci->load->model("institute");

$courses = $ci->course->getAllCourses();
$featured_courses = $ci->course->getFeaturedCourses();
$categories = $ci->category->getAllRecords();
$institutes = $ci->institute->getAllRecords();
?>
<div class="container contenido">
    <div class="row-fluid">
        <div class="span3 categorias">
            <div class="titles">CATEGORIAS</div>
            <ul>
                <?php
                foreach ($categories as $row) {
                    ?>    
                    <li><a href="<?= site_url('categoria/view/' . $row->id ) ?>"><?php echo $row->name ?></a></li>
                    <?php
                }
                ?>               
            </ul>
            <div class="titles"><a href="#">INSTITUCIONES</a></div>
			
            <div class="fb-like-box">
                <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FMelbourne-Summer-Shirts%2F355978284520400&width=200&height=290&show_faces=true&colorscheme=light&stream=false&show_border=true&header=true&appId=102111576528745" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:290px;" allowTransparency="true"></iframe>
            </div>
        </div>
        <div class="span9" style="margin-left: -17px;">
            <div class="row-fluid">
                <?php
                foreach ($institutes as $row) {
                    ?>    
                    <div class="row" >
                        <?php //echo $row->name; ?>
                        <a href="<?= site_url('course/' . $row->id) ?>"><img src="<?= base_url() ?>public/img/arte1.jpg"></a>
						NOMBRE DEL INSTITUTO
                    </div>
					
                    <?php
                }
                ?> 
            </div>            

        </div>
    </div>
</div>